package cn.yunhe.model;

import org.springframework.stereotype.Component;

@Component
public class CompanyModel {

	private int cid;
	private String cname;
	private String cadress;
	private String ceo;
	private String cphone;
	private String cemail;
	
	public CompanyModel() {
	}
	public CompanyModel(int cid, String cname, String cadress, String ceo, String cphone, String cemail) {
		this.cid = cid;
		this.cname = cname;
		this.cadress = cadress;
		this.ceo = ceo;
		this.cphone = cphone;
		this.cemail = cemail;
	}
	public int getCid() {
		return cid;
	}
	public void setCid(int cid) {
		this.cid = cid;
	}
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public String getCadress() {
		return cadress;
	}
	public void setCadress(String cadress) {
		this.cadress = cadress;
	}
	public String getCeo() {
		return ceo;
	}
	public void setCeo(String ceo) {
		this.ceo = ceo;
	}
	public String getCphone() {
		return cphone;
	}
	public void setCphone(String cphone) {
		this.cphone = cphone;
	}
	public String getCemail() {
		return cemail;
	}
	public void setCemail(String cemail) {
		this.cemail = cemail;
	}
	
	
}
